﻿@model SusuCMS.Web.Admin.Models.ChangePasswordModel
@{
    ViewBag.Title = DisplayResource.ChangePassword;
    ViewBag.Subtitle = DisplayResource.ChangePassword;
}
@using (Html.BeginForm("ChangePassword", "Account", null, FormMethod.Post, new { autocomplete = "off" }))
{            
    <table class="form-table">
        <tbody>
            <tr>
                <th>@Html.LabelFor(m => m.OldPassword)
                </th>
                <td>@Html.PasswordFor(m => m.OldPassword)
                    @Html.ValidationMessageFor(m => m.OldPassword)
                </td>
            </tr>
            <tr>
                <th>@Html.LabelFor(m => m.NewPassword)
                </th>
                <td>@Html.PasswordFor(m => m.NewPassword)
                    @Html.ValidationMessageFor(m => m.NewPassword)
                </td>
            </tr>
            <tr>
                <th>@Html.LabelFor(m => m.ConfirmPassword)
                </th>
                <td>
                    @Html.PasswordFor(m => m.ConfirmPassword)
                    @Html.ValidationMessageFor(m => m.ConfirmPassword)
                </td>
            </tr>
            <tr>
                <th>
                </th>
                <td>@Html.AntiForgeryToken()
                    @Html.SaveButton()
                </td>
            </tr>
        </tbody>
    </table>
}